package com.itheima.sh.d_HomeWork;


public class homework02 {
    public static void main(String[] args) {
        //定义一个字符
        char nb='d';

        //判断定义的字符是否是字母字符
        if ((nb>='a' && nb<='z')||(nb>='A'&& nb<='Z')){
            System.out.println(nb+":是字母字符！");

        }else{
            System.out.println(nb+":不是字母字符！");
        }

    }
}
